/**
 * 
 */
package com.bjtct.plugin.autogen.db;

import java.io.Serializable;

/**
 * 列相关信息
 * 
 * @author syf
 *
 */
@SuppressWarnings("serial")
public class DbColumn implements Serializable {
	/** 列名 */
	private String column_name;
	/** 数据类型 */
	private String data_type;
	/** 类型描述 */
	private String column_type;
	/** 为空 */
	private String is_nullable;
	/** 键类型 */
	private String column_key;
	/** 注释 */
	private String column_comment;
	private String column_default;
	private String extra;

	public DbColumn(String column_name, String data_type, String column_type, String is_nullable, String column_key,
			String column_comment, String column_default,String extra) {
		super();
		this.column_name = column_name;
		this.data_type = data_type;
		this.column_type = column_type;
		this.is_nullable = is_nullable;
		this.column_key = column_key;
		this.column_comment = column_comment;
		this.column_default = column_default;
		this.extra = extra;
	}

	public String getColumn_name() {
		return column_name;
	}

	public void setColumn_name(String column_name) {
		this.column_name = column_name;
	}

	public String getData_type() {
		return data_type;
	}

	public void setData_type(String data_type) {
		this.data_type = data_type;
	}

	public String getColumn_type() {
		return column_type;
	}

	public void setColumn_type(String column_type) {
		this.column_type = column_type;
	}

	public String getIs_nullable() {
		return is_nullable;
	}

	public void setIs_nullable(String is_nullable) {
		this.is_nullable = is_nullable;
	}

	public String getColumn_key() {
		return column_key;
	}

	public void setColumn_key(String column_key) {
		this.column_key = column_key;
	}

	public String getColumn_comment() {
		return column_comment;
	}

	public void setColumn_comment(String column_comment) {
		this.column_comment = column_comment;
	}

	public String getColumn_default() {
		return column_default;
	}

	public void setColumn_default(String column_default) {
		this.column_default = column_default;
	}

	public String getExtra() {
		return extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	 

}
